.class Llt/noframe/gpsfarmguide/widgets/BottomNavigationBar/BottomBar$2;
.super Ljava/lang/Object;
.source "BottomBar.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Llt/noframe/gpsfarmguide/widgets/BottomNavigationBar/BottomBar;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Llt/noframe/gpsfarmguide/widgets/BottomNavigationBar/BottomBar;


# direct methods
.method constructor <init>(Llt/noframe/gpsfarmguide/widgets/BottomNavigationBar/BottomBar;)V
    .locals 0

    .line 248
    iput-object p1, p0, Llt/noframe/gpsfarmguide/widgets/BottomNavigationBar/BottomBar$2;->this$0:Llt/noframe/gpsfarmguide/widgets/BottomNavigationBar/BottomBar;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 1

    .line 251
    iget-object p1, p0, Llt/noframe/gpsfarmguide/widgets/BottomNavigationBar/BottomBar$2;->this$0:Llt/noframe/gpsfarmguide/widgets/BottomNavigationBar/BottomBar;

    invoke-static {p1}, Llt/noframe/gpsfarmguide/widgets/BottomNavigationBar/BottomBar;->access$000(Llt/noframe/gpsfarmguide/widgets/BottomNavigationBar/BottomBar;)Llt/noframe/gpsfarmguide/analytics/FireAnalytics;

    move-result-object p1

    invoke-virtual {p1}, Llt/noframe/gpsfarmguide/analytics/FireAnalytics;->sendMapNavDone()V

    .line 252
    iget-object p1, p0, Llt/noframe/gpsfarmguide/widgets/BottomNavigationBar/BottomBar$2;->this$0:Llt/noframe/gpsfarmguide/widgets/BottomNavigationBar/BottomBar;

    const/4 v0, 0x0

    iput v0, p1, Llt/noframe/gpsfarmguide/widgets/BottomNavigationBar/BottomBar;->state:I

    .line 253
    invoke-static {}, Llt/noframe/gpsfarmguide/Data;->getInstance()Llt/noframe/gpsfarmguide/Data;

    move-result-object p1

    invoke-virtual {p1}, Llt/noframe/gpsfarmguide/Data;->getNavigationTop()Llt/noframe/gpsfarmguide/widgets/TopNavigationBar/TopRunningNavigationBar;

    move-result-object p1

    invoke-virtual {p1, v0}, Llt/noframe/gpsfarmguide/widgets/TopNavigationBar/TopRunningNavigationBar;->setState(I)V

    .line 254
    invoke-static {}, Llt/noframe/gpsfarmguide/Data;->getInstance()Llt/noframe/gpsfarmguide/Data;

    move-result-object p1

    iget-object p1, p1, Llt/noframe/gpsfarmguide/Data;->sprayFunction:Llt/noframe/gpsfarmguide/sprayer/SprayController;

    invoke-virtual {p1}, Llt/noframe/gpsfarmguide/sprayer/SprayController;->endSpray()V

    .line 255
    invoke-static {}, Llt/noframe/gpsfarmguide/Data;->getInstance()Llt/noframe/gpsfarmguide/Data;

    move-result-object p1

    invoke-virtual {p1}, Llt/noframe/gpsfarmguide/Data;->getGui()Llt/noframe/gpsfarmguide/gui/Gui;

    move-result-object p1

    invoke-interface {p1}, Llt/noframe/gpsfarmguide/gui/Gui;->clearGuiWithMeasure()V

    .line 256
    invoke-static {}, Llt/noframe/gpsfarmguide/Data;->getInstance()Llt/noframe/gpsfarmguide/Data;

    move-result-object p1

    invoke-virtual {p1}, Llt/noframe/gpsfarmguide/Data;->getMapStatesController()Llt/noframe/gpsfarmguide/states/map_states/MapStatesController;

    move-result-object p1

    new-instance v0, Llt/noframe/gpsfarmguide/states/map_states/FreeMapState;

    invoke-direct {v0}, Llt/noframe/gpsfarmguide/states/map_states/FreeMapState;-><init>()V

    invoke-virtual {p1, v0}, Llt/noframe/gpsfarmguide/states/map_states/MapStatesController;->setCurrentState(Llt/noframe/gpsfarmguide/states/map_states/MapState;)V

    return-void
.end method
